package com.qumitech.visualnovel.service.novel;

import com.qumitech.visualnovel.model.common.BaseResponse;
import com.qumitech.visualnovel.model.dto.AuthorQueryDTO;
import com.qumitech.visualnovel.model.dto.AuthorUpdateDTO;
import com.qumitech.visualnovel.model.dto.AuthorPolicyAddDTO;
import com.qumitech.visualnovel.model.dto.AuthorPolicyUpdateDTO;
import com.qumitech.visualnovel.model.dto.AuthorPolicyQueryDTO;
import com.qumitech.visualnovel.model.dto.AuthorIntroDTO;

public interface AuthorService {
    BaseResponse listAuthor(AuthorQueryDTO param);

    BaseResponse detailAuthor(Integer uid);

    BaseResponse updateAuthor(AuthorUpdateDTO param);

    BaseResponse getAuthorIntro(Long bookId);

    BaseResponse updateAuthorIntro(AuthorIntroDTO body);

    BaseResponse addAuthorPolicy(AuthorPolicyAddDTO param);

    BaseResponse updateAuthorPolicy(AuthorPolicyUpdateDTO param);

    BaseResponse delAuthorPolicy(Long id);

    BaseResponse listAuthorPolicy(AuthorPolicyQueryDTO param);
}
